import Axios from 'axios'
// 地址头部
export const BASEURL = 'http://Mocktest1113.com/'
export const URLS = [
    '/t1',
    '/t2',
]
const instance = Axios.create({
    baseURL: BASEURL
})

export const get = (url, data) => {
    instance.request({
        url: url,
        params: data
    })
}
export const post = (url, data) => {
    instance.request({
        method: "POST",
        url: url,
        params: data
    })
}